﻿<UserControl 
    x:Class="GNF.WPFControls.GNFEnabledBasicViewer"
    x:Name="GNFEnabledBasicViewerUserControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d"
	xmlns:GNF_Geo="clr-namespace:GNF.Geo;assembly=GNF.Geo"
    d:DesignWidth="640" d:DesignHeight="480"
    Loaded="GNFEnabledBasicViewer_Loaded">
    <UserControl.Resources>
        <Style x:Key="BasicStyle" TargetType="Label">
            <Setter Property="FontFamily" Value="David"/>
            <Setter Property="FontSize" Value="24"/>
        </Style>
    </UserControl.Resources>
    <StackPanel x:Name="LayoutRoot" Background="#FF426176">
        <Label HorizontalAlignment="Center" FontSize="24" FontFamily="David">GPS Data</Label>
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition/>
                <RowDefinition/>
                <RowDefinition/>
                <RowDefinition/>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition/>
                <ColumnDefinition/>
            </Grid.ColumnDefinitions>

            <Label Grid.Row="0" Grid.Column="0" FontSize="24" FontFamily="David">Longitude</Label>
            <Label Grid.Row="1" Grid.Column="0" FontSize="24" FontFamily="David">Latitude</Label>
            <Label Grid.Row="2" Grid.Column="0" FontSize="24" FontFamily="David">Altitude</Label>
            <Label Grid.Row="3" Grid.Column="0" FontSize="24" FontFamily="David">AvailableSatellites</Label>
            <TextBox Grid.Row="0" Grid.Column="1" Text="{Binding Longitude,Mode=OneWay}" Background="{Binding LayoutRoot}" FontSize="24" FontFamily="David"/>
            <TextBox Grid.Row="1" Grid.Column="1" Text="{Binding Latitude,Mode=OneWay}" Background="{Binding LayoutRoot}" FontSize="24" FontFamily="David" />
            <TextBox Grid.Row="2" Grid.Column="1" Text="{Binding Altitude,Mode=OneWay}" Background="{Binding LayoutRoot}" FontSize="24" FontFamily="David" />
            <TextBox Grid.Row="3" Grid.Column="1" Text="{Binding AvailableSatellites,Mode=OneWay}" Background="{Binding LayoutRoot}" FontSize="24" FontFamily="David" />
        </Grid>
    </StackPanel>
</UserControl>
